<!--首页主要内容-->
<main id="content" role="main">
    <div class="container clearfix">
        <ul class="spfList clearfix">
          <?php
          foreach ($data as $k => $v) :
            ?>
              <li class="spfbg-<?= $k+1 ?>">
                  <a href="<?= $v['url'] ?>">
                      <span><?= $v['title'] ?></span>
                  </a>
              </li>
          <?php
          endforeach;
          ?>
        </ul>
    </div>
</main>